package cn.ml.chuji.jieKou.daYinJi;

public class DaYinJi {
    private MoHe moHe;
    private ZhiZhang zhiZhang;

    public void print(){
        String type = moHe.isColor();
        String chiCun = zhiZhang.getSize();
        System.out.println("使用"+type+"墨盒在"+chiCun+"纸上打印");
    }

    public DaYinJi(MoHe moHe, ZhiZhang zhiZhang) {
        this.moHe = moHe;
        this.zhiZhang = zhiZhang;
    }

    public DaYinJi() {
    }

    public MoHe getMoHe() {
        return moHe;
    }

    public void setMoHe(MoHe moHe) {
        this.moHe = moHe;
    }

    public ZhiZhang getZhiZhang() {
        return zhiZhang;
    }

    public void setZhiZhang(ZhiZhang zhiZhang) {
        this.zhiZhang = zhiZhang;
    }
}
